1 ''DISKCAT.BAS (C) COPYRIGHT 1983 NELSON FORD ALL RIGHTS RESERVED
2 ''To compile, the following lines must be changed:
3 '' Uncompiled: Compiled:
4 '' 54 SIDE1!=&HE000 to 54 SIDE1%=&HE000
5 '' 82 SIDE2!=&HE050 to 82 SIDE2%=&HE050
6 ''1710 CALL SIDE1! (B) to 1710 CALL ABSOLUTE (B,SIDE1%)
7 ''1711 IF PEEK(&HE100)=&HFF THEN B=B+256: CALL SIDE2! (B): S2=1536 ELSE S2=0 to 1711 IF PEEK(&HE100)=&HFF THEN B=B+256: CALL ABSOLUTE (B,SIDE2%): S2=1536 ELSE S2=0
8 '' (tunes in lines 800-900 are timed for compiled pgm.)
9 ''
10 CLEAR ,35000!,2000
11 DEFINT A-Z
12 KEY OFF: SCREEN 0 'check for CG Board and set foreground color:
13 BG=0: IF (PEEK(&H410) AND &H30)<>&H30 THEN FG=6 ELSE FG=7
14 COLOR FG, BG, BG
15 SP$= SPACE$(30): ESC$=CHR$(27): YES=NOT NO: NO= NOT YES